-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bacpop-207 Add info_csv file for metadata #54
Bacpop-207 Add info_csv file for metadata #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - couple of tiny questions.
beebop/app.py
Outdated
@@ -325,7 +327,7 @@ def run_poppunk_internal(sketches: dict, | |||
|
|||
|
|||
def setup_db_file_stores( | |||
species_args: dict, | |||
species_args: Any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've made this change because species_args isn't a dict but an object with attributes? Is it worth making a class for this rather than generic Any?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea have done
@@ -45,6 +45,7 @@ | |||
"fulldb": "GPS_v9", | |||
"external_cluster_prefix": "GPSC", | |||
"external_clusters_file": "GPS_v9_external_clusters.csv", | |||
"db_metadata_file": "GPS_metadata.csv", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this filename should be tagged to the db version..? Or is the idea that this will contain metadata for all samples in all versions of the db?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah its not really db version-specific
…g, update type annotations
…beebop_py into bacpop-207-csv-branched
…beebop_py into bacpop-207-csv-branched
…beebop_py into bacpop-207-csv-branched
This PR adds a new metadata csv file that is passed into microreact (info_csv).. This data will now show up when visiting microeact (have to toggle columns)... Also if there is latitude, longitude in csv it will plot map, and if year info then plot timeline.
Also this PR changes the title of the microreact page to "Cluster {cluster_num} - {datetime}"
This is deployed to dev and can be seen when running project and visiting microreact.
Note: current metadata file is only gpsc 1-30 and not complete... thus there will be lots of empty fields.
Testing: